package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 配件申领
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-11-23 15:00:36
 */
@TableName("peijianshenling")
public class PeijianshenlingEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public PeijianshenlingEntity() {
		
	}
	
	public PeijianshenlingEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
    private Long id;
	/**
	 * 申领单号
	 */
					
	private String shenlingdanhao;
	
	/**
	 * 配件名称
	 */
					
	private String peijianmingcheng;
	
	/**
	 * 申领数量
	 */
					
	private String shenlingshuliang;
	
	/**
	 * 申领说明
	 */
					
	private String shenlingshuoming;
	
	/**
	 * 申领日期
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@DateTimeFormat 		
	private Date shenlingriqi;
	
	/**
	 * 设备员
	 */
					
	private String zhanghao;
	
	/**
	 * 是否审核
	 */
					
	private String sfsh;
	
	/**
	 * 审核回复
	 */
					
	private String shhf;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：申领单号
	 */
	public void setShenlingdanhao(String shenlingdanhao) {
		this.shenlingdanhao = shenlingdanhao;
	}
	/**
	 * 获取：申领单号
	 */
	public String getShenlingdanhao() {
		return shenlingdanhao;
	}
	/**
	 * 设置：配件名称
	 */
	public void setPeijianmingcheng(String peijianmingcheng) {
		this.peijianmingcheng = peijianmingcheng;
	}
	/**
	 * 获取：配件名称
	 */
	public String getPeijianmingcheng() {
		return peijianmingcheng;
	}
	/**
	 * 设置：申领数量
	 */
	public void setShenlingshuliang(String shenlingshuliang) {
		this.shenlingshuliang = shenlingshuliang;
	}
	/**
	 * 获取：申领数量
	 */
	public String getShenlingshuliang() {
		return shenlingshuliang;
	}
	/**
	 * 设置：申领说明
	 */
	public void setShenlingshuoming(String shenlingshuoming) {
		this.shenlingshuoming = shenlingshuoming;
	}
	/**
	 * 获取：申领说明
	 */
	public String getShenlingshuoming() {
		return shenlingshuoming;
	}
	/**
	 * 设置：申领日期
	 */
	public void setShenlingriqi(Date shenlingriqi) {
		this.shenlingriqi = shenlingriqi;
	}
	/**
	 * 获取：申领日期
	 */
	public Date getShenlingriqi() {
		return shenlingriqi;
	}
	/**
	 * 设置：设备员
	 */
	public void setZhanghao(String zhanghao) {
		this.zhanghao = zhanghao;
	}
	/**
	 * 获取：设备员
	 */
	public String getZhanghao() {
		return zhanghao;
	}
	/**
	 * 设置：是否审核
	 */
	public void setSfsh(String sfsh) {
		this.sfsh = sfsh;
	}
	/**
	 * 获取：是否审核
	 */
	public String getSfsh() {
		return sfsh;
	}
	/**
	 * 设置：审核回复
	 */
	public void setShhf(String shhf) {
		this.shhf = shhf;
	}
	/**
	 * 获取：审核回复
	 */
	public String getShhf() {
		return shhf;
	}

}
